/*
* @Author: Administrator
* @Date:   2017-10-31 15:21:01
* @Last Modified by:   Administrator
* @Last Modified time: 2017-11-29 08:59:56
*/
import { post } from './fetch';
import { host } from '../util/costant';

// 发表文章
export default function postArticle(params, header) {
  const url = `${host}/posts`;
  const res = post(url, params, header)
  return res;
}
